
/*
 本类由PWMIS 实体类生成工具(Ver 4.0)自动生成
 http://www.pwmis.com/sqlmap
 使用前请先在项目工程中引用 PWMIS.Core.dll
 2010/6/9 14:01:03

*/

using System;
using PWMIS.DataMap.Entity;

namespace NBFModel 
{
  //[Serializable()]
  public partial class TB_Public_ServiceOnline : EntityBase
  {
    public TB_Public_ServiceOnline()
    {
            TableName = "TB_Public_ServiceOnline";
            //IdentityName = "标识字段名";
	    IdentityName="id";

            //PrimaryKeys.Add("主键字段名");
	    PrimaryKeys.Add("id");

            
            PropertyNames = new string[] { "id","name","mail","mobile","retype","mailtype","content","addtime","state","company","filename","jiufuready" };
            PropertyValues = new object[PropertyNames.Length];
    }


      /// <summary>
      /// 
      /// </summary>
      public System.Int32 id
      {
          get{return getProperty<System.Int32>("id");}
          set{setProperty("id",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String name
      {
          get{return getProperty<System.String>("name");}
          set{setProperty("name",value ,200);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String mail
      {
          get{return getProperty<System.String>("mail");}
          set{setProperty("mail",value ,200);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String mobile
      {
          get{return getProperty<System.String>("mobile");}
          set{setProperty("mobile",value ,200);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.Int32 retype
      {
          get{return getProperty<System.Int32>("retype");}
          set{setProperty("retype",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String mailtype
      {
          get{return getProperty<System.String>("mailtype");}
          set{setProperty("mailtype",value ,50);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String content
      {
          get{return getProperty<System.String>("content");}
          set{setProperty("content",value ,2147483647);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.DateTime addtime
      {
          get{return getProperty<System.DateTime>("addtime");}
          set{setProperty("addtime",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.Int32 state
      {
          get{return getProperty<System.Int32>("state");}
          set{setProperty("state",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String company
      {
          get{return getProperty<System.String>("company");}
          set{setProperty("company",value ,200);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String filename
      {
          get{return getProperty<System.String>("filename");}
          set{setProperty("filename",value ,100);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String jiufuready
      {
          get{return getProperty<System.String>("jiufuready");}
          set{setProperty("jiufuready",value ,10);}
      }


  }
}
